package com.changli06._abstract;

public class Student extends Person{
    String school;

    public Student(String name, int age, String school) {
        super(name, age);
        this.school = school;
    }
    public void eat(){
        System.out.println("学生要多吃饭，才有精力学习");
    }
    public void sleep(){
        System.out.println("学生应睡满8+小时");
    }
}
